package nix.mall.content.service;

import java.util.List;

import nix.mall.common.pojo.EasyUIDataGridResult;
import nix.mall.common.pojo.NixMallResult;
import nix.mall.pojo.Content;

public interface ContentService {

	NixMallResult addContent(Content content);
	
	EasyUIDataGridResult getContentListByCatId(Long categoryId, Integer page, Integer rows);
	
	Content getContentById(Long id);
	
	NixMallResult editContent(Content content);
	
	NixMallResult delContentByIds(String ids);
	
	List<Content> getContentListByCatId(Long categoryId);
}
